/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package BeansNegocio;

import Servicios.AutenticacionRemote;
import Servicios.AutenticacionLocal;
import javax.ejb.Stateless;

/**
 *
 * @author nd.hurtado2814
 */
@Stateless
public class Autenticacion implements AutenticacionRemote, AutenticacionLocal
{

    @Override
    public boolean autenticarUsuario(String login, String password)
    {
       if (login.equals ("admin")&& password.equals("adminadmin"))
       {
            return true;
       }
     else
       {
           return false;
       }
    }
    
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
